* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
}
ul li {
  list-style: none;
}
a {
  text-decoration: none;
}
#header {
  position: sticky;
  top: 0;
  z-index: 9;
}
.gallery-container {
  position: relative;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
/* 标题样式 */
.til-pc {
  padding: 33px 0 23px;
  text-align: center;
}
.til-pc h2 {
  margin-bottom: 12px;
  font-size: 28px;
  color: #1f548e;
  font-weight: bold;
  text-transform: uppercase;
}
.til-pc .line {
  width: 50px;
  height: 4px;
  background-color: #1f548e;
  margin: 10px auto;
}
/* 移动端标题 */
.til-m {
  display: none;
  padding: 16px 0;
  text-align: center;
  position: relative;
}
.til-m span {
  font-size: 20px;
  font-weight: bold;
  color: #1f548e;
  padding: 0 15px;
  background: #f5f5f5;
  position: relative;
  z-index: 1;
}
.til-m:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #ddd;
  z-index: 0;
}
/* 图片列表 - PC端4列 */
.list-container {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}
.list {
  width: 25%;
  padding: 0 10px;
  margin-bottom: 25px;
}
.image-container {
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0.03125rem #0000004d;
  cursor: pointer;
}
.image {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.image:hover {
  transform: scale(1.03);
}
.title {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  color: #333;
  margin-top: 10px;
}
/* 分页样式 */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.pagination-inner {
  display: flex;
  gap: 5px;
}
.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: #fff;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.page-link.active {
  background: #409EFF;
  color: white;
}
.page-link.prev,
.page-link.next {
  padding: 0 15px;
  width: auto;
}
/* 响应式调整 */
@media (max-width: 992px) {
  .list {
    width: 33.33%;
  }
}
@media (max-width: 768px) {
  .til-pc {
    display: none;
  }
  .til-m {
    display: block;
    margin: 0 0 20px;
  }
  .list {
    width: 50%;
  }
  .image {
    height: 150px;
  }
}
@media (max-width: 576px) {
  .list {
    width: 50%;
  }
  .image {
    height: 120px;
  }
}
@media (max-width: 68.75rem) {
  footer {
    transition: 0.3s;
    display: none;
  }
}
